GIPHY CAPTURE is the best way to create GIFs on your Mac. Simple, powerful, free, and easy enough for pretty much everyone and even a few small mammals.
Kap is an open-source screen recorder built with web technology. It can be used to record gifs which can then be shared on github to help explain issues.
Capture your screen. An open-source screen recorder built with web technology. View and contribute on GitHub macOS 12 or later required. The Kap Window.